package com.ddxcloud.common.constants;

public class PayMethodConstant {

    /**
     * 支付宝
     */
    public static final Integer ALIPAY = 1;

    /**
     * 微信支付
     */
    public static final Integer WECHAT = 2;

    public static String getPayMethod(Integer payMethod) {
        String content = "";
        switch (payMethod) {
            case 1:
                content = "alipay";
                break;
            case 2:
                content = "wechat";
                break;
        };
        return content;
    }
}
